package com.wsx.ones.monitor.core.model;

import com.wsx.ones.monitor.core.Bean;
import com.wsx.ones.monitor.core.MessageType;

/**
 * Created by wangshuaixin on 17/2/3.
 */
public class RpcRequest extends Bean {

    private static final long serialVersionUID = -5546513347674074085L;

    private String requestId;
    private String className;
    private String methodName;
    private Class<?>[] parameterTypes;
    private Object[] parametes;

    public RpcRequest () {
        setMessageType(MessageType.TRANSDATA_REQ);
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    public Object[] getParametes() {
        return parametes;
    }

    public void setParametes(Object[] parametes) {
        this.parametes = parametes;
    }
}
